MongoDB

To successfully establish a new connection to local/remote server - no matter via SSL or SSH, set the database login information in the General tab. If your Internet Service Provider (ISP) does not provide direct access to its server, Secure Tunneling Protocol (SSH) is another solution.

Connection Name

Enter a friendly name to best describe your connection.

Add To

After you logged in the Navicat Cloud feature, you can choose to save the connection to My Connections or a project in Navicat Cloud.

Connection

The type of your MongoDB server: Standalone, Shard Cluster or Replica Set.

Host

A host name, IP address, or UNIX domain socket of the server.

Port

A TCP/IP port for connecting to the server.

Member

Add or remove the members of replica set or the instances of sharded cluster to the connection.

Read Preference

Choose the replica set read preference for this connection.

Replica Set

The name of the replica set.

Authentication

Choose the authentication mechanism that MongoDB will use to authenticate the connection.

None

No authentication.

Password

Specify the Authentication Database name associated with the User Name and Password.

LDAP

Specify the User Name and Password.

Kerberos

Set the Kerberos Service Name and the user Principal. Enable Use canonicalized host name if you want the Kerberos service canonicalizes host name.

X.509

x.509 certificate authentication.

Use MongoDB URI

You can also use a MongoDB URI to connect your MongoDB server. Simply click the URI button and paste the URI. Navicat will automatically fill out the options in the General, SSL and SSH tabs.